package com.room.search.config;

import org.springframework.http.MediaType;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;

import java.util.Collections;

/**
 * By   : ghd.bright
 * Time : 2022/3/23
 * Description:
 */
public class MyApplicationJavascriptHttpMessageConverter extends MappingJackson2HttpMessageConverter {

    public MyApplicationJavascriptHttpMessageConverter() {
        setSupportedMediaTypes(Collections.singletonList(MediaType.ALL));

    }
}
